namespace MoreLinq;

using System.Runtime.CompilerServices;

static class Assume
{
    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    public static T NotNull<T>(T? obj) where T : class
    {
            Debug.Assert(obj is not null);
            return obj;
        }
}
